var fs = require('fs');

var zip = new require('node-zip')();
var zip64 = function(path, zipname) {
	zip.file(zipname, fs.readFileSync(path));

	var data = zip.generate({ base64:true, compression: 'DEFLATE' });
	return data;
}
module.exports= zip64